package com.rp.data.tcp_ws.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 类说明:
 *
 * @author ****
 * @date 2021-01-13 11:57  新建
 */
@ApiModel(description="报警长度")
@Data
@Accessors(chain = true)
public class IndexAlarmLengthModel {

    @ApiModelProperty(value = "报警类型")
    private String infoCode;

    @ApiModelProperty(value = "长度")
    private Integer count;

    @ApiModelProperty(value = "0未处理  1已处理")
    private Integer code;

    public IndexAlarmLengthModel() {
    }

    public IndexAlarmLengthModel(String infoCode, Integer count) {
        this.infoCode = infoCode;
        this.count = count;
    }

    public IndexAlarmLengthModel(String infoCode, Integer count, Integer code) {
        this.infoCode = infoCode;
        this.count = count;
        this.code = code;
    }
}

